public class Text {
    public static void main(String[] args) {
        Person person = new Person("zzy",12);
        Person person1 = new Person("knq",16);

        MyCompare<Person> myCompare = new MyCompare<>();
        System.out.println(myCompare.compare(person, person1));

    }
}
